--[[/**
-- * 
 * 触发时,给buff来源加个 buff
-- *
-- */]]

---@class BuffEffect138100 : BaseBuffEffect
BuffEffect138100 = ClientFight.CreateClass("BuffEffect138100", ClientFight.BaseBuffEffect)
local t = BuffEffect138100

---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local source = buff.source;
    BuffManager.addBuff(fight,buff.skill,source,source,false,buff.buffBean.f_BuffEffectValue[1],1);
    SkillRoleMgr.savePathFile(string.format(
            "[%s][EFFECT]Fighter %s Buff%s 触发时,给buff来源加个buff %s , 这个buff在本次伤害结算后就会被移除的",fight.frame,buff.target.fighterId
    ,buff.modelId,buff.buffBean.f_BuffEffectValue[1]));

    return ClientFight.BaseBuffEffect.action(self, fight, buff, ...);
end

t.New()